<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <link rel="icon" type="image/x-icon" th:href="${application.iconPath}" />
    <title>ssosystem</title>
    <div th:include="../templates/common::html_header"></div>
</head>

<body>
<div class="layui-form contain ">
    <form class="layui-form layui-form-pane">
        <!-- <input type="hidden" id="id" name="id" th:value="${id}"/> -->
        <div class="layui-form-item">
            <label class="layui-form-label">系统编号</label>
            <div class="layui-input-inline">
                <input type="text" name="code" placeholder="请输入系统编号 唯一" class="layui-input" lay-verify="charCode|uniqueCode"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">系统名称</label>
            <div class="layui-input-inline">
                <input type="text" name="name" placeholder="请输入系统名称" class="layui-input" lay-verify="required"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">系统链接</label>
            <div class="layui-input-inline">
                <input type="text" name="url" placeholder="请输入系统链接" class="layui-input" lay-verify="aeUrl"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">系统图标</label>
            <div class="layui-input-inline">
                <img  class="uploadImg"  width="87px;" height="87px;" style="cursor: pointer"
                     th:src="@{{path}/istyle/images/addimg.png(path=${application.basePath}) }"/>
                <input type="hidden" id="icon" name="icon" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-inline">
                <input type="text" name="remark" placeholder="请输入备注" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">顺序(根据级别)</label>
            <div class="layui-input-inline">
                <input type="text" name="sequence" placeholder="请输入顺序(根据级别)" value="1" class="layui-input" lay-verify="number"/>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button authkey="sso_system_set_add" class="layui-btn layui-btn-normal" lay-submit="" lay-filter="save">保存</button>
                <button class="layui-btn layui-btn-primary" id="close">关闭</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>


<script th:src="@{{path}/script/sso/system/ssosystem_add.js(path=${application.basePath}) }" type="text/javascript" charset="utf-8"></script>
<div th:include="../templates/common::html_footer"></div>